.PHNOY:all
all:tcpserver.exe tcpclient.exe

Flag = #-DMyself=1

tcpserver.exe:servercal.cpp
	g++ -o $@ $^ -std=c++11 -ljsoncpp $(Flag)

tcpclient.exe:tcpclient.cpp
	g++ -o $@ $^ -std=c++11 -ljsoncpp $(Flag)

.PHNOY:clean
clean:
	rm -rf *.exe;